﻿using System;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;

namespace Acme.BookStore2
{
    public interface IQuestionAndAnswerPostAppService
    {
        Task<QuestionAndAnswerPostDto> GetAsync(Guid id);
        Task<PagedResultDto<QuestionAndAnswerPostDto>> GetPagedListAsync(GetQuestionAndAnswerPostsInput input);
        Task<QuestionAndAnswerPostDto> CreateAsync(QuestionAndAnswerPostCreateDto input);
        Task<QuestionAndAnswerPostDto> UpdateAsync(Guid id, QuestionAndAnswerPostUpdateDto input);
        Task DeleteAsync(Guid id);
    }
}